#include "GnDX11RendererPCH.h"
#include "GnDX11Renderer.h"
#include "GnDX11RendererEBM.h"


static GnDX11RendererEBM GnDX11RendererEBMObject;

GnDX11Renderer::GnDX11Renderer(void)
{
}

GnDX11Renderer::~GnDX11Renderer(void)
{

}

void GnDX11Renderer::EBMStartup()
{
}
void GnDX11Renderer::EBMShutdown()
{
}

GnDX11Renderer::DX11CreationParameters::DX11CreationParameters(guint width, guint height,
	guint useflag, GnWindowHandle deviceHandle, GnWindowHandle focusHandle) :
	GnRenderer::CreationParameters(GnRenderer::RENDERERDIRECTX11, width, height, useflag,
		deviceHandle, focusHandle)
{
	mCreate = GnDX11Renderer::Create;
}

GnRenderer* GnDX11Renderer::Create(GnRenderer::CreationParameters* createParam)
{
	GnAssert(createParam->mRendererType == GnRenderer::RENDERERDIRECTX11);
	return GnNew GnDX11Renderer();
}

bool GnDX11Renderer::Init(CreationParameters* createParam)
{
	return true;
}

bool GnDX11Renderer::RealBeginFrame()
{
	return true;
}
bool GnDX11Renderer::RealEndFrame()
{
	return true;
}
bool GnDX11Renderer::RealDisplayFrame()
{
	return true;
}